<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BWCart
 *
 * @author jianfeng
 */
class BCart extends BTreeTable {

    const Payment_Status_Not_Paid = 'not_paid';
    const Payment_Status_Paid = 'paid';
    const Payment_Status_Waiting_Paid = 'waiting_paid';
    const Payment_Status_Paid_Cancelled = 'paid_cancelled';

    //put your code here
    protected $treeList;

    public function __construct($owner = NULL, $cartItem = NULL) {
        if ($cartItem == NULL)
            $cartItem = new BCartItem();
        if ($owner == NULL)
            $owner = Blyn::app()->getCurrentUser();
        parent::__construct($cartItem, $owner);
    }

}
